<?php 

class Ext_Video_Show_Adapter_Youku extends Ext_Video_Show_Abstract
{
    public function _build($videoId)
    {
        $_videoRow = App_Model_DbTable_Video::getInstance()->getRowById($videoId);
        if(!$_videoRow){
            return "";
        }

        $_siteViewUrl = $_videoRow['url'];
        $_siteViewId  = $_videoRow['viewId'];
        
        $this->siteViewUrl  = $_siteViewUrl;
        $this->siteName     = '优酷网';
        $this->flash        = 'http://player.youku.com/player.php/sid/'.$_siteViewId.'/v.swf';
        
    }

}
